

<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">

<form rel="pagerForm" method="post" action="" onsubmit="return navTabSearch(this)">
    <div class="pageHeader">
        <div class="searchBar shutDownCause" >
            <ul class="searchContent">
                <li ><label id="shutDownCauseCode"><@label key="shutDownCauseCode.C,colon">停机原因编号：</@label></label> <input type="text" class="textInput" name="shutDownCauseCode" value="${condition.shutDownCauseCode!''}" /></li>
                <li ><label id="shutDownCauseText"><@label key="shutDownCauseText.C,colon">停机原因描述：</@label></label> <input type="text" class="textInput" name="shutDownCauseText" value="${condition.shutDownCauseText!''}" /></li>
                <li class="lockFlag">
                    <div style="float: left;">
                        <label><@label key="lockFlag.L">锁定标记：</@label></label> <select name="lockFlag">
                            <option value=""><@label key="all.C">所有</@label></option>
                            <option value="0"<#if condition.lockFlag?? && condition.lockFlag == 0> selected="selected"</#if>><@label key="no.C">否</@label></option>
                            <option value="1"<#if condition.lockFlag?? && condition.lockFlag == 1> selected="selected"</#if>><@label key="yes.C">是</@label></option>
                        </select>
                    </div>
                    </li>
                    <li class="query">
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit"><@label key="query.B">查询</@label></button>
                            </div>
                        </div>
                    </li>
            </ul>
        </div>
    </div>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
          <@buttonRight menuCode="shutDownCauseCode_add" labelKey="add.B" defalutName="新增">
            <li><a class="add" target="dialog" mask="true" width="480" height="250" href="${rc.getContextPath()}/manage/shutDownCause/addShutDownCause?navTabId=${navTabId!''}" rel="addshutDownCause" title="<@label key='addshutDownCause.D'>新增停机原因</@label>"><span><@label key="add.B">新增</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="shutDownCauseCode_edit" labelKey="edit.B" defalutName="编辑">
            <li><a class="edit" target="dialog" mask="true" width="580" height="320" href="${rc.getContextPath()}/manage/shutDownCause/modifyShutDownCause?id={shutDownCause_code}&navTabId=${navTabId!''}" rel="editshutDownCause"  title="<@label key='editshutDownCause.D'>编辑停机原因</@label>"><span><@label key="edit.B">编辑</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="shutDownCauseCode_view" labelKey="view.B" defalutName="详情">
            <li><a class="icon" target="dialog" mask="true" width="580" height="320" href="${rc.getContextPath()}/manage/shutDownCause/viewShutDownCause?id={shutDownCause_code}&navTabId=${navTabId!''}" rel="viewshutDownCause" title="<@label key='viewshutDownCause.D'>停机原因详情</@label>"><span><@label key="view.B">详情</@label></span>
            </a>
            </li>
            </@buttonRight>
             <@buttonRight menuCode="shutDownCauseCode_del" labelKey="delete.B" defalutName="删除">
            <li><a class="delete" target="selectedTodo" href="${rc.getContextPath()}/manage/shutDownCause/deleteShutDownCause?navTabId=${navTabId!''}" postType="string" rel="ids" callback="batchjobAjaxDone"
                title="<@label key='confirmDelShutDownCause.M'>确认要删除选择的停机原因吗？</@label>"><span><@label key="delete.B">删除</@label></span>
            </a>
            </li>
            </@buttonRight>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="135" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="22"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
                <th width="40"><@label key="serialNumber.C">序号</@label></th>
                <th width="100" orderField="shutDownCauseCode"<#if (page.orderField?? && page.orderField == 'shutDownCauseCode')>class="${page.orderDirection!''}"</#if>><@label key="shutDownCauseCode.C">停机原因编号</@label></th>
                <th width="100" orderField="shutDownCauseText"<#if (page.orderField?? && page.orderField == 'shutDownCauseText')>class="${page.orderDirection!''}"</#if>><@label key="shutDownCauseText.C">停机原因描述</@label></th>
                <th width="50" orderField="lockFlag"<#if (page.orderField?? && page.orderField == 'lockFlag')>class="${page.orderDirection!''}"</#if>><@label key="lockFlag.C">锁定标记</@label></th>
                <th width="100" orderField="createUser"<#if (page.orderField?? && page.orderField == 'createUser')>class="${page.orderDirection!''}"</#if>><@label key="createUser.C">创建人</@label></th>
                <th width="100" orderField="createDateTime"<#if (page.orderField?? && page.orderField == 'createDateTime')>class="${page.orderDirection!''}"</#if>><@label key="createDateTime.C">创建时间</@label></th>
                <th width="100" orderField="modifyUser"<#if (page.orderField?? && page.orderField == 'modifyUser')>class="${page.orderDirection!''}"</#if>><@label key="modifyUser.C">修改人</@label></th>
                <th width="100" orderField="modifyDateTime"<#if (page.orderField?? && page.orderField == 'modifyDateTime')>class="${page.orderDirection!''}"</#if>><@label key="modifyDateTime.C">修改时间</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as shutDownCause>
            <tr target="shutDownCause_code" rel="${shutDownCause.shutDownCauseCode!''}">
                <td><input name="ids" value="${shutDownCause.shutDownCauseCode!''}" type="checkbox"></td>
                <td>${page.startRow + shutDownCause_index}</td>
                <td>${shutDownCause.shutDownCauseCode!''}</td>
                <td>${shutDownCause.shutDownCauseText!''}</td>
                <td><#if (shutDownCause.lockFlag == 1)><@label key="yes.C">是</@label><#else><@label key="no.C">否</@label></#if></td>
                <td>${shutDownCause.createUser!''}</td>
                <td>${shutDownCause.createDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
                <td>${shutDownCause.modifyUser!''}</td>
                <td>${shutDownCause.modifyDateTime?string("yyyy-MM-dd HH:mm:ss")}</td>
            </tr>
            </#list> <#else>
                <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if> <#else>
            <tr >
                <td colspan="7"  class="noData">======<@label key="noListData.C">列表无数据</@label>=====
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/panelBar.html">
    
</div>